package com.ruoyi.travel.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 旅游攻略对象 guide_detail
 * 
 * @author ruoyi
 * @date 2024-12-07
 */
public class GuideDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 攻略ID */
    private Long id;

    /** 攻略标题 */
    @Excel(name = "攻略标题")
    private String title;

    /** 目的地地点 */
    @Excel(name = "目的地地点")
    private String location;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 封面图片URL */
    @Excel(name = "封面图片URL")
    private String image;

    /** 行程安排JSON数据 */
    @Excel(name = "行程安排JSON数据")
    private String itinerary;

    /** 特色推荐JSON数据 */
    @Excel(name = "特色推荐JSON数据")
    private String highlights;

    /** 旅行小贴士 */
    @Excel(name = "旅行小贴士")
    private String tips;

    /** 关联的景点ID */
    @Excel(name = "关联的景点ID")
    private Long scenicId;

    /** 景点名称 */
    @Excel(name = "景点名称")
    private String scenicName;

    /** 景点类型ID（外键） */
    @Excel(name = "景点类型ID", readConverterExp = "外=键")
    private Long scenicTypeId;

    /** 景点区域ID（外键） */
    @Excel(name = "景点区域ID", readConverterExp = "外=键")
    private Long scenicRegionId;

    /** 门票价格 */
    @Excel(name = "门票价格")
    private BigDecimal ticket;

    /** 开放时间 */
    @Excel(name = "开放时间")
    private String openingHours;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setItinerary(String itinerary) 
    {
        this.itinerary = itinerary;
    }

    public String getItinerary() 
    {
        return itinerary;
    }
    public void setHighlights(String highlights) 
    {
        this.highlights = highlights;
    }

    public String getHighlights() 
    {
        return highlights;
    }
    public void setTips(String tips) 
    {
        this.tips = tips;
    }

    public String getTips() 
    {
        return tips;
    }
    public void setScenicId(Long scenicId) 
    {
        this.scenicId = scenicId;
    }

    public Long getScenicId() 
    {
        return scenicId;
    }
    public void setScenicName(String scenicName) 
    {
        this.scenicName = scenicName;
    }

    public String getScenicName() 
    {
        return scenicName;
    }
    public void setScenicTypeId(Long scenicTypeId) 
    {
        this.scenicTypeId = scenicTypeId;
    }

    public Long getScenicTypeId() 
    {
        return scenicTypeId;
    }
    public void setScenicRegionId(Long scenicRegionId) 
    {
        this.scenicRegionId = scenicRegionId;
    }

    public Long getScenicRegionId() 
    {
        return scenicRegionId;
    }
    public void setTicket(BigDecimal ticket) 
    {
        this.ticket = ticket;
    }

    public BigDecimal getTicket() 
    {
        return ticket;
    }
    public void setOpeningHours(String openingHours) 
    {
        this.openingHours = openingHours;
    }

    public String getOpeningHours() 
    {
        return openingHours;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("location", getLocation())
            .append("author", getAuthor())
            .append("date", getDate())
            .append("image", getImage())
            .append("itinerary", getItinerary())
            .append("highlights", getHighlights())
            .append("tips", getTips())
            .append("scenicId", getScenicId())
            .append("scenicName", getScenicName())
            .append("scenicTypeId", getScenicTypeId())
            .append("scenicRegionId", getScenicRegionId())
            .append("ticket", getTicket())
            .append("openingHours", getOpeningHours())
            .toString();
    }
}
